summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-12-09 19:38:27 +0100
committerGitHub <noreply@github.com>2023-12-09 19:38:27 +0100
commit42b34a0dc5fecaeda3ebaf364e994483d03146c4 (patch)
tree2524d6163cc67f0d14aa0d24ca84e2f33135a4d9
parentMerge pull request #12274 from liamwhite/srgb-nonsense (diff)
parentsettings: Enable NCE by default on capable systems (diff)
downloadyuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.tar
yuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.tar.gz
yuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.tar.bz2
yuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.tar.lz
yuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.tar.xz
yuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.tar.zst
yuzu-42b34a0dc5fecaeda3ebaf364e994483d03146c4.zip
-rw-r--r--src/common/settings.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 98341ad96..7dc18fffe 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -180,14 +180,20 @@ struct Values {
&use_speed_limit};
// Cpu
- SwitchableSetting<CpuBackend, true> cpu_backend{
- linkage, CpuBackend::Dynarmic, CpuBackend::Dynarmic,
+ SwitchableSetting<CpuBackend, true> cpu_backend{linkage,
#ifdef HAS_NCE
- CpuBackend::Nce,
+ CpuBackend::Nce,
#else
CpuBackend::Dynarmic,
#endif
- "cpu_backend", Category::Cpu};
+ CpuBackend::Dynarmic,
+#ifdef HAS_NCE
+ CpuBackend::Nce,
+#else
+ CpuBackend::Dynarmic,
+#endif
+ "cpu_backend",
+ Category::Cpu};
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
"cpu_accuracy", Category::Cpu};